You can actually skip the closing tags when making new elements with jQuery: `$("<div class='js-category-node'>")`