Added duration variable

Added duration variable for enabling auto-play
Edited out test animations
Merge pull request #1 from AbertayUni/js01

Js01