Added caching to modernizr