Change animate.js to clean it up & add docstrings

Add docstrings for the class and for all the methods of the class, note
that these docstrings are following the guidelines from Google.

Change version and project name to make it consistent with the rest of
the project.