Moving DOM write to outside of loop (better performance)
Merge pull request #3 from mstrutt/master

Moving DOM write to outside of loop (better performance)