replace jQuery.watch by MutationObserver