IE fix still for metrics graphs

Generate metrics graphs also on window.load instead of document.ready on
IE.