change javascript structure to uglify
skip require optimization
fix json, try require
add gzip encoding