Added support on date picker for older browsers