Update js text scale