Update confetti.js

fix randomFrom function to work as intended with smaller numbers.

Right now it will get stuck on the "a" value because the Math.floor rounds down to zero 100% of the time unless (b-a) > 1