Powershell Function Return String Javascript Methods