Add random integer within range function to ROT.js