small $.filter simplification