Clean up DOM renderer code for untested minor performance advantages
Merge pull request #107 from twpayne/dom-renderer-clean-ups

Clean up DOM renderer code for untested minor performance advantages