Update filter.js documentation

Undocumented feature is really useful.