JavaScript is a web scripting language used to make web pages more interactive by allowing pages to change without having to reload the page - it's entirely client-side, so compatibility is with the browser rather than the hosting platform. Internet Explorer typically interprets JavaScript differently from other browsers for historical reasons.
JavaScript is different from Java - JavaScript does not require the Oracle JRE to run.