Javascript is perhaps one of the most widely needed programming language that a beginner needs to learn. These are required not only in the web development but also in mobile programming.Javascript is not a server side language. That has little to do anything if you just want to learn the language itself. But it is important to know what it means. Whenever you need to do any computation you need a machine - a hardware to perform this action. This machine can be local machine or a server machine. In case of javascript that machine is the local machine and not the server machine.
http://referencedesigner.com/tutorials/js/js_1.php