Add setImmediate polyfill.