Use ISAAC as a CSPRNG in place of Math.random()