Update base.js

if you try to 
    this.trigger(document, 'someEvent', {dataForEvent: 'asdsad'});
it will not work and will fire an exception