I fought with the same error that you can simply solve using the following template when you want to change the style.
element.style("property", "value");
It is imperative that the value always contains a string. Otherwise, you get a strange Character error in IE9, because it can only process strings.
I tested it with D3JS 3.2.8.
source share