Smog is a project mainly written in JavaScript, it's free.
Pluggable comet chatroom written in NodeJS
NodeJS hackable chatroom