Forms are an important part of the internet and world wide web. If you request information or order stuff off the internet, chances are you use a form. In fact, you have used forms if you've used the internet at all. Search engines are even examples of forms.
Java Script is a powerful tool to be used with forms. It was developed by Netscape Communications and allows validation of the various types of form data. This is useful in a client server environment. Web pages are stored on servers that the computers you use to view them are clients of. When you use java script on the web, it can validate data before it goes from the client to the server thereby saving storage space and processing time. It can also be used to make sure that the web page code you view is compatible with the browser that you are using even before they are loaded from the web server. Also, this validation cuts down on unnecessary network traffic.
As you can see java script eliminates a lot of useless traffic and information. It is for these reasons that java script is considered an important tool.