[javascript] Check if an array contains any element of another array in JavaScript