create html string from ajax request