speed up exclusion check in jobfilter.js