add revised filtering liquid logic, removed url refactoring js