Add 'latin-1' as alias to ISO-8859-1

Fixes #2316
ecmascript: Add showtime.textDialog()

Fixes #2312