Combining and compressing JavaScript
In the past, the conventional wisdom among JavaScript developers was that you should write all of your code in one file, because downloading multiple script files causes a lot of unnecessary network traffic and slows down the load time. While reducing the number of files to download is indeed better, writing all of your code in one file is difficult to read and maintain. We don't write code like that in other languages, so why should we do it in JavaScript?
Fortunately there is a solution to this problem: the JavaScript compressor. A compressor takes all of the JavaScript source files for an application, combines them into one file, and compresses them by renaming local variables to the smallest name possible, removing white space and comments. We get all of the benefits of using multiple source code files for development, plus all of the benefits of a single JavaScript file when releasing an application. You can think of it as compiling your source...