Hey,
You can use every for ""AND"" and some for ""OR"". In your case, you want to go through the list of keys (so every for AND) and then check if the value exists in the search array. indexOf should do the job. For everything and more, I use JS UI for most of my projects.