update js remote