clean up
Added onKeyDown and onKeyUp handler method.
Typo fix and clean up.