Powershell Custom Function Parameters In Javascript