Try Catch Powershell Error Variables In Javascript