Method for observing and reacting to changes to the DOM. Replaces MutationEvents, which is deprecated.
Method for observing and reacting to changes to sizes of DOM elements.