reverting modifications to geolocation.js