Javascript finite-state-machine framework | Hacker News Reader