Fix graph rendering on IE 9

* IE 9 has something called window.performance but not
the method now on that object.
Merge pull request #3496 from oskarhane/2.2-fix-graph-render-ie9

Fix SVG graph rendering in IE 9