Adding modernizr to the javascript