Update cli.js

more updates for code-climate