From Fedora Project Wiki
The license used for JSMin is non-free.
uglifyjs command, provided by the
uglify-js package, may be used for minification. For example:
uglifyjs your.js -c -m -o your.min.js
Google Closure Compiler
The Google Closure Compiler is packaged for F21+.