configuration of environment variables with js