RequireJs implemention of cross-browser MutationObserver