Update cli.js

HOME environment variable usually not defined in windows.
Merge pull request #304 from fprijate/master

Fix issue under windows when HOME env is not available