clean keyboard.js up