Powershell Create Function In Javascript Tutorial