The animation for the progress bars.

This is the Javascript animation for the progress bars.