In HTML5, it is no longer necessary to specify the type attribute of the script tag if it is javascript (spec). It is recommended to omit the attribute instead.