Add geolocation to ajax