Add MutationObserver to document