this makes sure the style attribute is in the array returned by node.attributes so it can be updated