checking in a few mobile fixes.

Found a library that mimics cordova.js in a desktop environment.. added that in.

https://github.com/jxp/phonegap-desktop