Better way to allow including filters.js via script tag and via browserify