refactor config.js
minor tweaks