Update app.js

aligned the code