Update random.js

Fixed random.chance.