Converted the HTML-generator to Python3.