Update mediator.js

case syntax corrected and callee param removed