Add GZIP Compress to Javascript(.js) files in IIS 7 through the GUI
This one was interesting since there were so many answers out there that didn’t work :) This is actually pretty easy, you open up the IIS 7 manager, go to the website you’d like to turn JS compression on for, in the menu you’ll see the MimeType icon, open that up:

When you open it up, look for the .js Mimetype as such:

And change the .js Mimetype to “text/javascript” as such:

It should take place immediately as it makes the change in your application’s web.config file for you under “System.Webserver”. BTW, just getting the JS files to compress does so much for the site speed!