Templatizing environment-specific variables in JS.