Find Duplicate Index In Array Javascript Concat