Update BarsMediator.js