Javascript Check If String In Array Of Objects Example