polyfill `setImmediate` so it works in the browser
1.1.0