Use strict. Jslint. Use a register function instead of hard-coding domains in a switch statement. Parse hacker news.