[UPDATE] update js for geolocation