Update text-resizer.js