title: Is it OK to use 'window' as an event bus in jQuery?
body: <p>I've been playing around with jQuery's Events methods and I built a simple event bus with the following code:</p>
  
  <pre><code>$(window).on('test:event', function (event, data) {
      console.log('Saw a test event: event=%o, data=%o', event, data);
  });
  
  $(window).trigger('test:event', {test_data: 'foo'});
  </code></pre>
  
  <p>My question is, are there any problems with using 'window' to manage the events?</p>