Credit Kris Kowal's Q project for the 'nextTick' function.