Nodejs Event Queueing