Replacing process.nextTick with setImmediate to solve Maximum call stack size exceeded error
Merge pull request #9 from masumsoft/master

Replacing process.nextTick with setImmediate