Tweak runtime so it runs without a "window" object defined.

Without this patch running `node elm-runtime.js` gives a `NameError`.