Update filter.js