Updated cordova.js for CB-7868