tests: add javascript linter testing for latin-1 file encoding