I don't really know anything about gzipping. However, this article (recommended by the author of LightWindow) looks promising:

http://www.thinkvitamin.com/features/webapps/serving-javascript-fast