create filters and details with working jQuery