Recently Google announced the release of Closure Tools. This is how Google describe it:
There’s an online version where you can go and try it out. If you like what you see, you can download the code and run it locally. This would be great to integrate as part of your build process IMO.