Update coa.js

let output work with folder, allow folder option to continue after it encounters a non-svg file
Merge pull request #228 from mako-taco/master

Fix --output and --folder options