translatable JS snippets