two modules communicating via eventbus: javascript frontend and java backend