removed the call to cordova.js