fix for 'addEventListener' called with no explicit 'this'