Creating new base/js/keyboard.js
Adding utility functions.
Adding basic tests for keyboard.js