added call to navigator.geolocation in js/geolocation.js