Make a generic websocket streaming system

Updated js to match generic Streaming
Merge branch 'master' of github.com:sparks/rter
Removed some console prints
Fix a syntax error