[LiveHTML] Some domdiff cleanup

This makes a good bit of domdiff cleaner and more consistent.

to @njx