Fix translate and js