replace process.nextTick with setImmediate to fix 'RangeError: Maximum call stack size exceeded'
Merge pull request #8 from mykmelez/fix-rangeerror

replace process.nextTick with setImmediate to fix 'RangeError: Maximum call stack size exceeded'