code: function getGesture(gestures, type) {
    if (!gestures.length) return;
    var types = _.pluck(gestures, 'type');
    var index = types.indexOf(type);
    if (index > -1) return gestures[index];
  }
docs: get only the circle gesture from the gestures array