added start,stop,reset, and updateCurrentFrame to animation.js