fix local building, make minifying optional and add license comments in newly-minified files
remove .min suffix from source maps filenames