JQuery plugin to filter a collection by an attribute