added build script
new mangled and minified version
removed a few unused arguments