Change animate.js to clean it an make it clearer

Remove a lot of console.log statements that were serving debugging
purposes. Added some extra comments to the code overall. Additionally I
tried to adhere to 80 columns per line where possible.
Change code in the trajectory.js object

Some of the changes that were made in this commit were:
    - Constrain to eighty columns when possible.
    - Add better documentation for some of the code.
    - Remove console.log statements.
    - Remove dead code.