updated date picker js