Added some more javascript and css stuff to layout.jade -- comments included to explain reasoning