Special case document in MutationObserver observe