Added proper commenting to app.js