Generate UUID and get Least and Most significant bits in Javascript
<p>I need to generate a random UUID in Javascript and get the Least and Most significant bits from it (like in Java's UUID class). I found enough scripts to generate the UUID, but wasn't able to find a script that gets the least and most significant bits. (I don't need the UUID itself, though).</p>

<p>Thanks in advance,</p>

<p>Chrisstar</p>