Fix IE 10

Implement fixes suggested in
https://github.com/Quartz/Chartbuilder/issues/62 to support IE 10.

Tested in Chrome, Firefox and Safari on Mac, IE 11 on PC.