Only define polyfil is MutationObserver is not present
Minor lint fixed