Blocking To Non-Blocking Operations in NodeJS