made some minor mods to app.js because it looks better this way