Curious, have you got even the last case with N=1048576? Mine is crashing the Chrome tab it lives in, and even nodejs (message about running out of memory). (With the smaller N-values BIP38 needs it works though.)
Crashes for me too. I think I could possibly get it to work but I'm not going to bother since the BIP38 stuff works.