Group Array Javascript Append Method In Dictionary