Thermal effects in the dynamics of disordered elastic systems