var StateController = new function(){ this.GetState = function(){ $(document).trigger('navestate:giveMeTheState',this) }; this.hereYouGo = function(navState){ // Do something with navState }; }; var NavState = new function(){ var myNaveState = { nav : 'state' }; $(document).on('navestate:giveMeTheState',function(e, giveItTo){ giveItTo.hereYouGo(myNaveState); }); }; StateController.GetState();