Fix geolocation js