The question is, how do i get the time elapsed of an animated element? Need to be pure js and not using any browser api such as setTimeInterval etc.