Should build all the HTML in advance as a string then insert into the DOM. Very costly to insert into the DOM first then manipulate it as a jQuery object.