Supply the correct HTML content in the response to the ajax call