Powershell Script Block Scope In Javascript W3schools