starting geolocation after document ready