Javascript files should always be read with UTF-8

This fixes some cases of where the user gets an error message because the default encoding is not UTF-8.

* 'This character may get silently deleted by one or more browsers.'