How To Create A Powershell Function Parameters In Javascript Code