added "min" attribute to date field via javascript.