More seeminingly futile attempts at generating keyboard events in JS

There may be the start of an idea here as a better way to handle keyboard events
in Dart, but it was not successful in reproducing Enter keyboard events closely
enough to real world Enter key events to be useful in tests.

Paired with @terrasea