contrib: added --exclude option to bundle.js tool, tweaked some plugins to remove anon funcs