return html string to client