config.json instead of config.js

closes #345