Add check for modernizr directory.