updated phonegap.js to cordova.js