Internet Explorer fix for stale DOMElement.OwnerDocument (SCRIPT70 Permission Denied error)