Resolve redirects in JS config variables.

Bug: 66971
Change-Id: I4fb12ed3f834132bf7ef40e62be888d306721b34
Merge "Resolve redirects in JS config variables."