Complete re-write. No existing HTML modification required. No longer requires Modernizr.