Modify app.js and config.xml