Delete Last Array Javascript Join Strings Powershell Gallery