Enhancement
Currently, the charset in which JavaScript resources are delivered to the client is left to the application container. If such files contain non-ASCII characters, there is a high probability that an inappropriate encoding will be used.
Improvement
Define encoding in script tags.
Test
Check whether JavaScript references are referenced with the charset attribute.