separated geolocation js into separate partial