Fixed JS and corrected duration that only showed seconds.