Fix setImmediate browser polyfill