Adds transliteration for slugs in JS