Creation of External Filters in js file

Created external filter in external js file which is referred in my html file