Add type attribs to all script tags