We've been using the same old version of Google's Closure Compiler for minification. This is a hurdle for contributors. We should probably switch to some more recent minifier. Care should be taken to see that using a different minifier does not break anything.
-DWT_DEBUG_JS define is also a bit obscure, and should probably be included into a proper CMake option?