code: function handleUniqueResult(results) {
        var res = [], flag = {};
        for (var i = 0; i<results.length; i++) {
          if (flag[results[i][self.displayProperty1]]) continue;
          flag[results[i][self.displayProperty1]] = true;
          res.push(results[i]);
        }
        return res;
      }
docs: This function check for result uniqueness on displayProperty1 params and return unique array
  @param results
  @returns {Array}