Second app.js commit

Cleaned it up