JS/HTML: added total time displayed after current position