Use your translator component in JS files.