Animation JS

Animation JS changed so one time or continuous animation can be enabled
or disabled
Merge branch 'master' into gh-pages