according to the turbolinks docs, the js needs to be in the head, not the body.