Moved geolocation to home.js