added graph js docs and updated graph js