Add window context to forEach for IE9 (fixes #70297930)

Fix "Invalid calling object" error on hitting Run button in IE9 

Similar issue: https://github.com/porada/resizeend/issues/3