fixes ericdrowell/KineticJS#962
style attribute is CSSStyleDeclaration (http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-style-attribute)