Update polyglot.js