remove https from js url