playing with html5 geolocation api and javascript