JavaScript to code a Roulette Bot - 2019