Javascript optimizations

Here are a couple of front-end optimizations to the Javascript that we've been using to make the dashboard usable with thousands of jobs. While not as necessary with the recent introduction of pagination, they still make the page perceptively faster.