Reduce In Array Javascript Join Function In Excel