Reduce binary size

This patch modifies the build process so that

1. nodejs polyfills for DOMParser and XMLHttpRequest are not bundled with build output
2. a minified version is generated in addition to an unminified one