Turbolinks compatible Javascript