added timeout to get geolocation
added phonegap alert