Powershell Function Return String Javascript Mdn