Replace `make` with `npm scripts`
Refactored filters to use module pattern