refactoring: split filter_admin.js into core.js and filterDefs.js