Added cordova.js to the code