updated cordova-js file