buildProduction: Don't compress JavaScript with UglifyJS if --nocompress is on, but still honor --define

This still (unnecessarily) beautifies the JavaScript. Will fix that later.
Release 1.8.0beta24.