function setNodeValue(oDomRef, sNodeValue) {
			sNodeValue = sNodeValue || "";
			var aChildNodes = oDomRef.childNodes;
			if (aChildNodes.length === 1 && aChildNodes[0].nodeType === window.Node.TEXT_NODE) {
				aChildNodes[0].nodeValue = sNodeValue;
			} else {
				oDomRef.textContent = sNodeValue;
			}
		}
To prevent from the layout thrashing of the <code>textContent</code> call, this method
first tries to set the <code>nodeValue</code> of the first child if it exists.

@param {HTMLElement} oDomRef DOM reference of the text node container.
@param {string} [sNodeValue] new Node value.
@private