moved head and scripts into their own haml files