cordova.js used instead of phonegap.js