I am using a mobile network based internet connection and the source code is being rewritten when they present the site to the end user.
In the localhost my website
I added to /etc/hosts
/etc/hosts
1.2.3.4 localhost
Seems to have fixed it.