Phonegap Browser Shim

Expand my phonegap.js browser shim with device object and geolocation.