added updated app.js