xjs additons for xdom and xutil

Tbh these were added about a year ago,
and I had just never comitted them.

So I'm not entirely sure what changes they are,
except that they are all additions.