some nice css tricks + more refactor to app.js