Add script type if doctype != html5