user location phonegap implementation