Powershell Remove Part Of String Javascript Definition And Uses