Switched to turbolinks compatible version of Javascript hooks