Fixing errors for getting graph to display in Windows Chrome