In Firefox, language
is deprecated (so you shouldn't use it at all) and if you don't specify type
, it will be assumed to be JavaScript.
type
This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute.
This is specified as a MIME type; examples of supported MIME types
include text/javascript, text/ecmascript, application/javascript, and
application/ecmascript. If this attribute is absent, the script is
treated as JavaScript.
language Deprecated
Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s
possible values were never standardized. The type attribute should be
used instead.
The recommendation seems to be to include a type
, but I doubt it has any performance impact since JavaScript is the only supported type. It's possible that it puts some browsers into quirks mode though, which would be very bad.