<head>
...
<!-- load modernizr library in the header -->
<script src="modernizr-1.1.js"></script>
...
</head>