credo che

var ntesto = this.childNodes[0].childNodes[i].childNodes[2].firstChild.toString()

dovrebbe andare