Heartbeat A simple webscoket lib on browser. Example var channel = H({ host: "ws://YOURHOST:PORT", receive: function(msg) { //the argument response from backend. } }); 1