formats filter.js