Switch approach to feature detection, use Modernizr