Removed dependency on modernizr