I think jQuery's `.html(...)` makes sense here. Probably best to use jQuery's API except where it's deficient.