fix(executor) try deleting the window prop in removeGlobalObject and catch for an IE8 alternative