Refactor to define tutorial in single HTML page and generate metadata from data- attributes rather than modifying JavaScript when pages are added.