Use setImmediate polyfill.