Added updated app.js