Move mediator error binding into app.js