use keyUp instead of keyDown because safari sends multiple key presses u...

...sing keyDown fixes #30