IRC bot written in javascript