Update random.js

Error message didn't agree with program logic
Merge pull request #472 from sarciszewski/patch-1

Update random.js