Minor cleanup for IE and MutiationObserver