Adding Numbers In An Array Javascript Documentation