[W8 JS Test App] Fix encoding issue on script