websocket updates
revert random number
Merge pull request #294 from evantahler/web_lib

websocket updates