returned to previous version of geolocator.js.erb