setImmediate polyfill

using postMessage