Secure GUIDs in Javascript, based on
this answer
.