JavaScript is either embedded into a web page or included in a .js file. JavaScript is also a client-side language, which means it gets downloaded to site visitors’ computers and then processed.