fixing keyboard.js