Get location from phonegap