Dojo ShrinkSafe at gos.i
Embed this image by adding following code in your web-page.
  <a href="http://getopensource.info/shrinksafe" title="Dojo ShrinkSafe at getOpenSource.info">
    <img src="http://getopensource.info/shrinksafe/svg/shrinksafe.svg" alt="Dojo ShrinkSafe at gos.i" />
  </a>

Dojo ShrinkSafe

the safe way to make your JS sprightly

ShrinkSafe is a JavaScript “compression” system. It can typically reduce the size of your scripts by a third or more, depending on your programming style.

Many other tools also shrink JavaScript files, but ShrinkSafe is different. Instead of relying on brittle regular expressions, ShrinkSafe is based on Rhino, a JavaScript interpreter. This allows ShrinkSafe to transform the source of a file with much more confidence that the resulting script will function identically to the file you uploaded.

Best of all, ShrinkSafe will never change a public variable or API. That means that you can drop the compressed version of your JavaScript into your pages without changing the code that uses it.