reflected comments to e1aca23b5c2f424f6976bf3d2435760c96783ecd(#6)

-erased an excess space
-changed output by innerHTML to output by createTextNode and appendChild