Re-add environments.js