Yeah, if we want this to be at all performant we should pull in your setImmediate() polyfill from IG. I wonder if we can make it smaller due to our use of es5-shim (like by removing some of the fallback cases).