refactoring de la minification