added keyboardState.js