Update translator.js