Generate a random integer
function getRandom(min, max) { return min + Math.floor(Math.random() * (max - min + 1)); }