Breadth-first search with setTimeout(f,0) | Hacker News Reader