If you used the method on linked pages for gzip your site, this will not affect the scripts, because they do not run through PHP. You need to either:
1) - (apache2 mod_deflate)
2) .js php:
<?php ob_start('ob_gzhandler'); echo file_get_contents('whatever.js'); ?>