Powershell Dynamically Create Variable Javascript Snake Code