Hm... Maybe you should stick with the same approach as before: concatenating the string and appending the whole thing at once. 

If you don't want to leave the array approach, what about using .join() and .html()?