Removes unused private variable.
Updates to use the value property of the DOM Attribute, since nodeValue is deprecated.