Thank you Admin I did read that in the Install doc. However, I thought because it was on the same server / websever it would not be considered a cross domain in the same domain mydomain.com but two sub chat.mydomain.com with scripts on
www.mydomain.com. It did fix the issue.