add type to script tag