ParentFull threadMDCore·Take a look at Mutation Observers. The only problem might be browser support: http://caniuse.com/#search=MutationObserverView on HN