JSCompressor.com is an excellent tool to help you minify your JavaScript! It's a tried and tested tool, used by libraries such as jQuery.
This is a simple wrapper for the browser around the minifier; the hard work is done by the Uglify team.
The minified output ()