Dynamic compensators for a nonlinear conservation law