vector graph js fix