convert site.js encoding