'window = this' breaks on 'use strict' Removing. Let the code resolve its own 'window' from global.