fix remote js