.
online roulette algorithm jsgc