app.js has modified not to create subscriber object for publishers