It is really cool to run Go code in the browser. GopherJS is a compiler from
example of DOM manipulation in Go program. This example shows how to detect
user keypress. addEventListener function is used to attach an onkeydown
(keyboard event) handler to window object. In the event handler, the
keycode of the keyboard event will be printed out.