Tweak runtime so it runs without a "window" object defined.
Better window workaround. Thanks @raynos
Merge pull request #473 from maxsnew/window

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