Fixed keybindings template to work with turbolinks.

Turbolinks requires the JS to listen on the page:change event.
Adjusted source formatting to be compliant with existing one.
Merge pull request #7 from thierry-rietsch/master

Fixed the current version to work with turbolinks.