uglify-js
1find . -type f \ 2 -name "*.js" \ 3 -exec echo {} \; \ 4 -exec cp {} {}.old \; \ 5 -exec uglifyjs -o {} {}.old \; \ 6 -exec rm {}.old \;