Wy not just comment out the if
statement?
If you have more than 1 of those, I guess you could simply overwrite the value of Modernizr.inputtypes.date
to false
at the beginning of your JS:
Modernizr.inputtypes.date = false;
if(!Modernizr.inputtypes.date){
//fallback here
}