Generate UUIDs in Javascript.