Date field freezing up the browser