Javascript module for creating reading list / table of content with progress bar for each section