Geolocation, Documentation: differences when running app on emulator and device
Documentation: how to use cordova.js in desktop browser