Nulchat is a project mainly written in JavaScript, it's free.
A nowjs hello world example (straight from the former)
A quick rip of the nowjs chat example...make changes and I'll deploy them on request here: http://nulchat.jacobheric.com/
To get nowjs, go here: https://github.com/Flotype/now