check if string contains in array javascript