Prefer DOM Mutation Observer over setImmediate().