moved filters to a seperate js file