Someone should just hook up a virtual dom to jQuery, it's got a whole plugin ecosystem that AI could really re-use. Jquery + Jquery UI + Jquery Plugins + AI is probably a super power we're all overlooking.
Why hook up a virtual dom when you have a real one? Unless you're saying AI can't interact reliably with a real browser yet.