append cordova.js and config.xml file