Changed where gzip was being disabled to fix issues with MAMP

I had an issue with using the proxy option in front of MAMP. All of my CSS/JS was being injected in the browser as gzipped garbage. I moved the location of the gzip disabling line to just above the next() function. Is there a reason it was in the place it was in? This fixed the issue entirely for me.