Thanks Ivan. I updated to reflect your advice. I didn't give you enough
context in the email I sent, but I think the code smell Jordan and I were
discussing was the creation of a bunch of elements in javascript rather
than using a templating system. I searched the webs and came up short on
stable, active jquery-sanctioned templating. It looks like handlebars,
mustache, and (icanhaz http://icanhazjs.com/) will enable these dynamically
added elements scale maintainably to arbitrary complexity. I think the
templates will also be easier for designers to interact with than trying to
refer them to functions that create elements deep inside the js.