A script type could work too. Either way, there would be some indicator of how the JS VM could parse the code. It&#x27;s true you could get other languages into HTML this way as well, but the trick is that the browser needs to support the VM, which can be done natively or through a browser plugin&#x2F;extension. Google tried this for a Dart VM (sidenote: there is no TypeScript VM from Microsoft that I&#x27;m aware of) into Chrome but discussions led away from that idea, and now Dart compiles to JS instead. A &lt;meta&gt; tag in &lt;head&gt; would eliminate &lt;script type=&quot;application&#x2F;sjavascript&quot;&gt;&lt;&#x2F;script&gt;, &lt;script type=&quot;application&#x2F;sjavascript&quot;&gt;&lt;&#x2F;script&gt;, etc. Though providing an either&#x2F;or situation would be optimal too to allow a mixed script types for older libraries.