You don't write software using javascript, GENIUS
~ McBane
****************************
edit
****************************
It all comes down to what you want to write:
Websites (not software): HTML, Javascript, PHP, MySQL
Games, Operating systems, 99% of software writing needs: C++ (Java is inferior to C++)
Artificial Intelligence: Prolog, LISP, C++
Super easy to code programs with easy to make graphical user interfaces but don't have much power or processing abilities: Visual Basic
Database intensive programs such as business software that relies heavily on numbers: Perl or C++
Stuff for video game consoles such as PS3/Xbox360: C++
Your best bet is to pick your language then search for beginner level tutorials on torrent sites.