Update build script to somewhat simplify code, prevent some code duplication, and output information about uglifying files.