Fully function phonegap geolocation demo