Change keyUp handlers.

Improved browser compatability.