js for filter added