Lots of browser specific changes, added date validation for browsers that dont support date picker