Geolocation hybrid mobile app using html5 and Javascript. (Phonegap)