change compression mode for main.js