remove javascript not compatible with turbolinks