fix for webpack build errors when not using UglifyJs Plugin, see issue #1