Adding javascript based graph viewer