moved getGeolocatoin to onBodyLoad