I can see that jQuery and Modernizr are loading. I can see that the yep/nope JavaScript that I created is not working. Is it because these polyfills are not needed in my browser? The code appears to have a parsing error but I don't know why.

I also do not know if these are the appropriate tests to load the polyfills as needed or if they are well-formed.

Here is the yep/nope test script that I made. Please help me to improve this script and point out any other errors that you see. Also I am interested to learn of any resource that lists unified data formodernizr test / polyfill / yep/nope test script: