It’s due to cache and CloudFlare’s rocket loader. The libraries and dependencies aren’t loaded in correct order, the script calls Modernizr but the library is called later triggering the error. Please temporarily disable your CF’s Rocket loader.
You can always use Rocket Loader as long as it will cache all your resource files to avoid getting the JS error once again.
If you need anything else, please let us know.