compress lib.js