Added duration for replacement of CSS classes to debug bar