Performance changes on multi graph java script.