I like the use of underscore chaining but I worry that as the list of jobs grows long you're going to do many unnecessary iterations over the whole collection. Maybe have all of these part of the same function? Something like

```coffee
filtered_jobs = _(jobs).chain()
  .filter (job) ->
    return false if req.param("state") and job.state isnt req.param("state")
    return false if req.param("function") and job.function isnt req.param("function")
    return false if req.param("where") and JSON.stringify(job).indexOf(req.param("where")) isnt -1
    true
  .sortBy((job) -> new Date(job.time_created))
  .value().reverse()