Fixed keybindings template to work with turbolinks.

Turbolinks requires the JS to listen on the page:change event.