Turbolinks javascript fixes