Jsbattle is a project mainly written in JavaScript, it's free.
Messing around with node.js and socket.io