Why this huge performance difference for an encapsulated Javascript function? | Hacker News Reader