replaced === with == in linegraph js