Replaced deprecated "nodeValue" property by "value"