updated cordova.js to work again