reconfigure app.js file