moved cordova.js to header for faster load

moved cordova.js to header for faster load