Update mediator.js

add one more example to pattern 'Mediator' in mediator.js file