Add All Array Values Javascript Foreach Loop