how to find common elements in two arrays in javascript