use modernizr to detect HTML5 features;
use bootstrap-datepicker to replace HTML5 input date when HTML5 is not supported