Added $.nextTick() method, emulating Node.js process.nextTick() for the browser