Web 2.0 would have been unthinkable without JavaScript, a scripting language used mainly for DOM scripting in web browsers.