Moved environment config to environment js file