Clean up of app.js
Merge pull request #32 from ppapadeas/js_cleanup

Clean up of app.js