MDL-52068 repository: Prevent JS errors due to unescaped lang strings