Put .text last when building elements because .text returns the text node, not the element again