Geolocalisation javascript methods