Add language variable to JS