add reference to cordova.js