restructure filter definitions to not blow up in Chrome