this makes sure the style object gets updated when you to do el.attributes, and find the style attribute and the set its value on the attribute object