change js from remote to local