faster event pump for modern browsers and Node