If you want to include third party libraries like Modernizr and yepnope.js, it's really easy to test for support and progressively enhance, gracefully degrade.
This is a good article with lots of resources that should help: http://www.sitepoint.com/regressive-enhancement-with-modernizr-and-yepnope/