added docs to keyboard.js