Concatenating the HTML in this way looks odd-- is this really the right way to do it?