Fix missing conversion of strings to JS