set js geolocation