../src/core/Events.js

simplify