Script: Add support for UTF-8 .js files