added ujs, switched layout to haml, tweaked application js and css