changed cordova.js to phonegap.js