Revert "rename agentFilter -> with"

This reverts commit a9a0648427a852e3b9d8ab02e6dab7b03b8ab4df.

Doh. "with" is reserved in JavaScript