use closest() instead of parents() (fixes #1)

The parents() function traverses the entire DOM, so if the textarea is inside a table, too many elements are added or deleted. The closest() function works almost identically, except it stops after finding the first occurrence of the passed element (in this case, the nearest <tr>).