Brought this file back
using pubnub javascript
More work attempting to get the stream working