"use strict"; (function($) { $(document).ready(function() { _ws.events = new EventEmitter(); console.log('log events from events', _ws); }); })(jQuery);