JavaScript: prototype vs. class | Hacker News Reader