Test/Update Ratchet.js to support PhoneGap.
https://github.com/ryanstewart/phonegap-ratchet-demo