javascript check if value not exists in array of objects