updating cordova.js with overriden objects