changed main.js into translate.js