Use .val() instead of .html() when saving back to textarea