Whoops ... I said it was 3.6mb, but that was because some numbers I used where too big for javascript, and some things that shouldn't got overwritten (they all used the largest integer possible). Luckily the new size is still only 4032kb.
Something is slightly off though, and I really do no know what it is. I checked and rechecked everything and some more checking after that, but my results are a bit different than Pokerst_ve (very old), F___zilla, Equilab, and some websites, which by the way sometimes give slightly different results compared to each other. But my results differ slighly more ...
My results for AsKs vs 9h8h for example:
-------------
As,Ks: equity:64.28%, win:63.93%, tie:0.35%, boards:1712304
9h,8h: equity:36.07%, win:35.72%, tie:0.35%, boards:1712304
-------------
Results of different calculators:
Spoiler
Pokerst_ve:
equity win tie pots won pots tied
Hand 0: 62.116% 61.89% 00.23% 1059724 3905.00 { AsKs }
Hand 1: 37.884% 37.66% 00.23% 644790 3905.00 { 9h8h }
But, if you sum up the pots here, there are only 1,708,419 instead of all 1,712,304 boards possible!
F___zilla:
Equity Win Tie
Asks: 62.116% 61.889% 0.455%
9h8h: 37.884% 37.656% 0.455%
Equilab:
Equity Win Tie
MP2 62.12% 61.89% 0.23% { AsKs }
MP3 37.88% 37.66% 0.23% { 9h8h }
Some online calculators:
AsKs: 61.89%
9h8h: 37.66%
Tie: 0.45%