translate echobot to coffeescript