remove hardcoded config from main.js