fix js bug after delete turbolinks