In many cases, you cannot delete from window in IE8/IE9.  This fix accounts for that.