//generate random id
function getUid() {
  // Math.random should be unique because of its seeding algorithm.
  // Convert it to base 36 (numbers + letters), and grab the 6 characters from position 2
  // after the decimal.
  return "_" + Math.random().toString(36).substr(2, 6);
}

console.log(getUid())//_iio3na 
by