DataList: Fixed javascript error when nextSibling returns a text node