Javascript Add All Values In Array Definition In Programming