Support "text" and "subtext" as DOM nodes in addition to a text string; bump version to 1.4.0