JS graph viewer