Make graphs work in Firefox