added changes to FilterService.js