Changed made on mediator.js