cleaned up config.js a bit