Modernizr logic