Add All Numbers In Array Javascript Function