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
other option is to assume float and just parseInt on colors... or make it two separate functions.