Fix some jshist errors.
[#316] Prevent keyStatus from becoming negative.

- Fixes a false-positive keypress when releasing a key after it has been rebinded.