Simulating Distributed System Consensus in JS | Hacker News Reader