Chaneged cordova.js for phonegap.js