nodeValue is deprecated

I am experiencing this error in Firefox: `Use of attributes' nodeValue attribute is deprecated. Use value instead.`