Small refactoring on ClickBroker.js.