JS perf. Cached some jQuery selectors I was repeating.