move MutationObserver definition to correct Firefox problem.