remove direct references to window in startup code (necessary for web workers, nodejs, etc.)
remove direct references to window in startup code (necessary for web workers, nodejs, etc.)

zvxryb/Coffeequate