Fixed some spacing problems.
Switched from innerHTML to nodeValue.