you can use bind here: `trans.addEventListener('complete', self.emit.bind(self, 'complete'));`