Implement renderHtml in maze