A key bindings listener for JavaScript.