pnegri/uuid-js — pull request #12 by dymonaz (2013-04-26 16:30:04+00:00)
Title: Fixing issue #11: generating random integers correctly

I just copy/pasted the function from MDN - it may as well be simplified for the purposes of this particular lib.