Add type attribute to script tag (jQuery)