Config.js: make copy of model to avoid by reference errors. Remove debug statements.