#1807 add support for MutationObserver

Better support mutation events in Firefox
Merge pull request #1808 from cmcnulty/#1807-Mutation-Observer

#1807 add support for MutationObserver