title: Unexpected token: name (DocumentAttributes) with webpack and UglifyJs
body: <p>I am using docx 5.0.2 version for generating word document with images from the angular type script code.
  using webpack.optimize.UglifyJsPlugin. Getting this error when building the code .
  <strong>Unexpected token: name (DocumentAttributes)</strong> with webpack and UglifyJs.
  I assume Uglify is not able to minimize or beautify code related to docx library. Any suggestions from people using the docx package.</p>
  
  <p>Build used to work fine before docx package added to the package.json</p>