DatePicker bug correction Correct chrome html5 problems

Sry, i detected some problems with chrome here are the corrections.