Sort out config.js for testing and heroku