Adding Modernizr for HTML5 feature detection, minor fixes.