Update maxim.js

updated the filter type definitions to the new enum type