@krinkle Would you prefer doing something like `typeof window === 'undefined' ? this : window`?