Do you remove "Language" from your script tag?
A few years ago, it was common to have the "language" attribute within the script tags. This attribute was used to specify the scripting language of the contents of this element.
Since these identifiers are not standard, this attribute has been deprecated in favor of "type".
Figure: Language attribute has been deprecated
Figure: The scripting language is specified as a content type Read more on W3C website.