The functionality of your site should never rely entirely upon JavaScript. Personally I practice graceful degradation - that is to say that although I may use JavaScript to enhance certain aspect of the sites I make, mainly through DOM scripting, I do my best to make sure that the site is still perfectly functional without JavaScript.
__________________