webassets filter to wrap a JS bundle in an IIFE to avoid global leaks and improve minification