Okay, liked this implementation, so took the time to update my uuid4 npm package to use a modified version for the browser implementation... also cleaned up some cruft and added module version(s) for both browser and node packages.
https://www.npmjs.com/package/uuid4