The pubnub-goinstant wrapper allows you to migrate your existing implementation of GoInstant to PubNub with the minimal amount of code change. In many cases it requires no change at all!
source
<script> tag
<script src="//rawgit.com/pubnub/pubnub-goinstant/gh-pages/js/pubnub-goinstant.js"></script>