Javascript IRC connection. Needs some work.