added filter to client-side use, added test page for filter.
added automated category selection