Change Attr.prototype.nodeValue shim to Attr.prototype.value since DOM4 now deprecates nodeValue on Attr (since Attr no longer inherits from Node); Use as such in XMLSerializer and avoid using also-deprecated Attr.prototype.nodeValue in favor of Attr.prototype.value; jslint/clean-up