geolocation and ajax implementation
fixed conflicts