Powershell Custom Function Parameters Js Compiler