I finally got this script working by dropping some of the code I had
been using. The finalized code for anyone else interested in achieving
this random number generation turned out to be:
javascript{Math.floor(Math.random(x)*z)}
wherein x=the starting number, and z=the ending number.
Cheers!