I often use Mutation Observers in my projects. Here’s a small polyfill to replace some of the functionalities on the older browsers.

Feel free to contribute! ;-)