hostname changed in js file