Fix for IE9 - IE10

Hi guys

I'm dealing with issue #33. I see that this is fixed in the dev branch, is it possible to get it merged in master soon?

I'm using d3.chart for a charts project and I could use this fix, sice I need it running in IE.

Thank you!