undid remote js