setImmediate/clearImmediate polyfill for JavaScript