fix `this` binding for self.handleEvent with jQuery