replaced globals.js with config.js