added ability to minify the library