Reworked min.js