Translator: fixed js & stacked translations bug