Building DOM is not a hard problem at all. Yes, it's more tedius with Vanilla DOM. But that's not a hard problem.
Hard problem is making it fast, reliable and predictable.