Textinput: Remove trailing comma from autogrow

Fixes gh-7171
Build: Add option "es3" to jshint

Closes gh-7173
Fixes gh-7172