Updated plugins to conform to api changes. Made the filtersSpec test pass using the plugin function provided from the filters.js.