Modernizr adds classes to the <html> element which allow you to target specific browser functionality in your stylesheet. You don't actually need to write any Javascript to use it.
Scriptaculous, MooTools, jQuery and much more: all you need to develop modern web interfaces and add new features to your website.