If you pull this in you'll need to include it as a AMD dependency up top.  
see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/webgl/extensions.js for an example.