Combine All Strings In Array Javascript Duplicates Finder