Document UI.getElementData

While doing this, I realized that this function
can be called on text nodes as well, so it's probably
better named UI.getNodeData?