Make sure "original" is always a number (ta.style.height can be undefined)
Rename "original" to "originalHeight" for clarity
Treat height differences smaller than 1/100px as equal (due to floating point calculation inaccuracy)