no - I have it exactly as you've reproduced it. last line remains commented too.
To make it even more confusing this block when used in a script on it's own, works
Originally the html had some code script in it and depending on what was chosen from the datafeed, the info would be parsed to one...