Original source of MT implementation unknown... Just found it on my drive without attribution. Cleaned it up a little and wrote a wrapper to emulate (and then some) Math.random.
ryantenney/random-js
Mersenne Twister (MT19937) implemented in JavaScript as an alternative to Math.random()
JavaScript