Make graph work in IE