probably it worth to split code lines, so that each one will contain no more than one statement, in the blog post it might be harder to follow the code. compare with 

```javascript
failure_function = function(message) {
  console.log(message);
}
dispatcher.trigger('chat_messages.create', 
     new_message_object,  success_function, failure_function);
```

Also in some cases it is more widespread to call things as *callback* instead of *function*