But humor me.
Came across this brilliant little hack that lets you define HTML templates using a script tag (of “text/html” type), then puffing it up by passing the tmpl function the ID of your script tag (your in-HTML HTML template) and the data structure (e.g. object returned from a jQuery AJAX request). You get back a perfectly populated bit of HTML that you can push into another div’s innerHTML.
An in-HTML HTML template system. Brilliant!