Javascript UUID version 4 generator and parser - string and binary