[dom] get first node by index