Phonegap Geolocation Sample Application