change the html wrapper method to allow accepting the title and header for the page