var CHANGE_EVENT = 'change';
var _ideas = [];

var create = function(body) {
  $.ajax({
    type: 'POST',
    url: '/ideas',
    data: {body: body}
  })
  .done(function(resp) {
    _ideas.push(resp);
    app.IdeaStore.emitChange();
  })
  .fail(function(error) {
    console.log(error);
  });
};

app.IdeaStore = _.extend({}, EventEmitter.prototype, {
  emitChange: function() {
    this.emit(CHANGE_EVENT);
  },

  addChangeListener: function(callback) {
    this.on(CHANGE_EVENT, callback);
  },

  removeChangeListener: function(callback) {
    this.removeListener(CHANGE_EVENT, callback);
  }
});

app.AppDispatcher.register(function(payload) {
  var action = payload.action;
  var body;

  switch(action.actionType) {
    case app.IdeaConstants.IDEA_CREATE:
      body = action.body.trim();

      if (body !== '') {
        create(body);
      }
      break;

    default:
      return true;
  }
});

@@ -163,20 +163,20 @@
 unction(
-resp
+idea
 ) %7B%0A    
@@ -191,12 +191,12 @@
 ush(
-resp
+idea
 );%0A 

Change resp to idea for clarity in IdeaStore create function.