[CB-2914] Cli script migration for windows jscript