Added setImmediate.js.
Removed unneeded setTimeout.