replace uuid dependency with a simpler and more robust random string

Why have 16 bytes of randomness when we could have 27 bytes of
randomness and the same string length?

This also reduces the browser code payload size.
update dependencies