exposed nextTick shim
fixed loop condition
added sync option to .group()