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
yet another option is to auto-detect if inputs are floats and go from there. What would you prefer?