added a multirandom javascript