Which language do you write to run code in browsers, especially that can manipulate DOM?

You need a quick reality check.