Derive JavaScript values from environment variables