Adjusting MutationObserver instantiation to ensure DOM is ready for us