Trigger OK button by pressing "Enter" (instead of clicking on it)

Oh, if you look at one of my macroapps that uses a Custom HTML Prompt (like Mirror Mirror), you'll see the JS I used to trigger various keys, including Enter and Escape.