Refactored app.js
Merge pull request #27 from rjbernaldo/minor

Refactored app.js