Using jQuery custom events to organize code better | Hacker News Reader