function uniqueId(min = 1, max = 10000) {
  var range = max - min
  return min + Math.round(Math.random() * range)
}