added simple cg example
Merge branch 'master' of https://github.com/pubnub/javascript