events.js ready to import from anywhere

classic browser, requirejs, nodejs, web workers.