replace start time code with chapter number in chapter tab

Additionally, refactor CSS-classnames to follow sane naming conventions.