After a bit of research it looks like my stab in the dark was a lucky one :-)

Try using the second version of the opening script tag and keep everything in lower case