Fixed #30, textarea.val("string") now replaces the content, and textarea.val() returns the content. Also implemented toString() which does the same thing as val().