(doc) filters.js: Cleanup and document