Testing geolocation with phonegap