support dom node children. Fixes #671