For older phonegap / cordova development. Removing some cordova 3.x plugin changes using oauthd's oauth.js.