should be $window IMO, @adambeynon @meh any thoughts?