[javascript] find the array index of an object with a specific key value in underscore