How To Create A Powershell Function Parameters In Javascript