refactored js; when filter selected all other filter lists are also filtered