There is a way of getting an object's or element's property with brackets: object["property"] works the same as object.property. In the string, there is allowed to have a dash at the start.
To set a '-webkit' style property, just use element.style["-webkit..."] = "a value".