fixing javascript import in bracket randomizer