Added support for modernizr do not know if it works...