https://github.com/rails/jquery-ujs/issues/317