Was this an issue related to a problem with window.crypto.getRandomValues when webworkers are used? If so, please inform so that I can make Firefox aware of the problem.
window.crypto.getRandomValues is not available in webworkers because the window object doesn't exist in webworkers (by design).
IMHO, it's worth looking at puik's modifications to bitcoinjs-lib that he's maintaining in
his branch ... he's made fixes to the RNG in particular.
Honestly, if I were doing JS crypto my approach would be to just mainline randomness directly from window.crypto.getRandomValues and bail if it's not available. If you need randomness from the context of a webworker, you have no choice but to message pass it into the worker from the foreground.
I don't have time at the moment to do a comprehensive audit, sorry

... but javascript honestly isn't really my bag baby so I'm not sure I would be the best person to look at it.