Added random.js from simjs.com