Modified HTML file creator for SPAs