<!doctype html>
<html>
<head> 
    <title>PubNub JavaScript CommonJS</title>
    <link
        rel=stylesheet
        href=http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css
    >
</head>
<body><div class=container>

</div>
<script src=../pubnub-3.1.js></script>
<script>(function() {
    // ----------------------------------------------
    // INIT
    // ----------------------------------------------
    var channel = 'my_channel'
    ,   pubnub  = PUBNUB({
        publish_key   : 'demo',
        