Fixed encoding issue from file in web.js