added CONFIG global in bundle.js to reduce DRY violations.