Powershell Custom Function Parameters In Javascript Code