Update geolocation.js