Created needed js files

Successful test of pubnub
Get history of channel added