I updated somethings in my JS file to my website. after uploading it, it works only in the domain, I tried to change my subdomain and it worked well. Then I changed it to the old one and the same problem happened again.
What is your sub domain and domain name??
Both working fine here.
Clear your browser data/cache and force reload.