Conforming min.js to main