Added some perf. improvements in creating the DOM