Real time web analytics using node.js and web sockets