I don't like this. It must be slow and bloated because it is a DOM written in JS rather than native optimized DOM implementation. And why would anyone need that?
If you do all that work in a worker and then only update the real DOM once, it will be much faster.
Render/paint is the slowest part in a JS application.