auto-quant a gradient onload in demo