Use MutationObserver instead of DOMAttrModified event