function randomID() {
    return Number(Math.random().toString().substr(2,0) + Date.now()).toString(36);
    }
 
console.log(randomID());