appends picture, uses xhr.responseText to get rid of response textarea, middleware issue