Bug 1040598 - Introduce StateManager and remove keyboard.js

Seems we should stop listening to this event in `stop()`?