fallback to nextTick if setImmediate not available