Update cli.js

HOME environment variable usually not defined in windows.