fn for finding nodes, can be used with partial
update to use dom-factory/isa