Add type to script tag