added js for filters