put cordova.js to top for performance