remote js