update script tag attribute

Substitute 'type' attribute for deprecated 'language' attribute