edit filter.js