Js Array Check If Value Is In Dictionary