Lots of work to views and playing around with js and jade