Bad class in JS call for animate progress bar