Instead of using triggerand on method of jQuery, this time we built methods named subscriber and publish.