Move API KEY setting from main.js to the model that works with Forecast API.