Adding config.js and moving configuration values into environment variables.