Use uglify-js to compress lib code.