The same time, Microsoft also invented JScript, the Microsoft's client side scripting language for their Internet Explorer 3. But JScript was meant for Internet Explorer only.
HTML, WWW Formed
Here are the examples with code.
Rest all script like Jquery, Angular or custom js code should be written just before body closing tag. This can load DOM content first, then scripts will execute, and hence optimise webpage performance.