Replace setTimeout() with _.defer()