js keyBoardController