Create Array From Another Array Javascript Append Method In Laravel