Added a procedure to minimize the output using the uglify tool.