Fixed chart display for IE8

Charts now work for IE8 without crashing browser.