Improved gzip and cache for javascript files in htaccess. Improved pre function.