Fixes for config.json vs config.js