Update app.js

Make old code more presentable...