Javascript Check If String In Array Of Objects Js