update js location