Geolocation done in Javascript/HTML 5