update: Simplify webcore minimizer code