The only use javascript has is button-rollovers, window sizing, etc. Cosmetic stuff, which you can use CSS for a lot of the stuff.
... and AJAX-based stuff that lets you dynamically refresh parts of a page rather than the whole thing... very useful for data-driven pages