HTML script tag does not require a type ...if it's just JS (but not a module) and not e.g. JSON-LD. See for yourself with the W3C validator Actually, it even triggers a warning if you add one