Swap out for loop
Add missing comma
Reduce rendering time by scheduling DOM insertion for next paint
Clean-up