Modernizr logic

A way to fix browser incompatibilities