Fully JQuery-ified filter.js