JavaScript is a programming language. That is, a means by which a computer is instructed to do things. Just the same as one controls humans with hisses and meows, one controls computers with statements written in a programming language. Virtually all web browsers understand JavaScript and you can take advantage of that to make web pages do crazy things! *
* And when you highlight crazy things, a spinning ball of yarn appears ;)