Make graph generation work for Chrome.