added cordova.js dependency