added setImmediate polyfill for node 0.8