Thus, the best way is to copy a compressed script that already tested in the browser! First you need to have FireFox web Browser, then you will need to install FireBug and Google Page Speed Analyzer plugin.
Yup, it’s from Google! Having confidence now? Now fire up your PageSpeed on the webpage that have the JS loaded and expand the JS node from it: