JavaScript does a lot more than has been explained so far.  The emphasis is on JavaScript as it relates to traditional Web pages.  What you have could be very useful so a hint or two and some practise before you move on.

If you are enjoying JavaScript you should probably get a good book (make sure it is up to date) as there is much more it can do especially as relates to database access and animations and games.