geolocalization seems to work in index.html