Add try/catch for delete window[cb].

As IE8 has bug when attempting to delete properties on the window
object.