Modernizr improvements

Uses full version during dev server, optimizes on build.