Fix #111 (part three): event.(which or keyCode).

Apparently a consistent way to get these codes is too much to
ask even in a single browser. On the assumption that at least one
of the two values will be non-zero, we now use "which || keyCode".