Updated plugins to conform to api changes. Made the filtersSpec test pas...

...s using the plugin function provided from the filters.js.