I am a Google Maps API (javascript) developer. I have noticed that Google uses a Javascript minifier that has the following features:
Google has now opened up the minifier they use along with some other internal javascript goodies.
It's all under the name "Closure Tools" and was announced earlier this month.