Replace hard-coded strings for window.env.t on js files