Updated appendChild() call to the DOMHelper's addText() method.