adding geolocator.js