Heartbeat is a project mainly written in JavaScript, it's free.
Simple Heartbeat algorithm written in node.js
== Starts the server
node server.js
== Starts the clients node client.js
See the Heart Beat :)