changed to includ cordova.js