end pwm mode, revert index.html