process filters inside js files