Added the cordova.js to the index.html file.