Getting closer to doc reactivity

Doc reactivity is still broken, see comments in client.js, but it is much closer.

Added random package for surrogate use as a userId without needing to be logged in for now.

Signed-off-by: Joel Fischer <joel@livioradio.com>