Phonegap.js location