Update coa.js

Update line : 379 from undefined 'config' when -f and not config output