Added the cordova.js script to the sample