Load javascript in the head

- Otherwise it gets screwed up with turbolinks