keyboard.js prevent default and add brake