JS: Replaced CAT_TEXT with cattranslate()