Fix setImmediate browser polyfill

`setImmediate` was defined as an alias for `nextTick` too soon. This fixes the issue.