JSAnimation for project 2