Control script minification from DOM