my own implementation of uuid rfc for node.js