Fix regression in DOMElement.getAttributes.
Fix regression in DOMElement.getAttributes.

podviaznikov/substance,jacwright/substance,substance/substance,andene/substance,jacwright/substance,michael/substance-1,podviaznikov/substance,andene/substance,michael/substance-1,stencila/substance,substance/substance