The contenteditable stuff was complicated and performing badly. More to the point, I've now got a pretty solid way to resize the textarea to fit it's content