Make the graph work on Firefox. We were using a non-standard Javascript method.