Seems like a candidate for underscore templates! You can plop that `_.each` right in there. :-)