Js Combine Array Into String Python Functions With Default