Adds better support of <input type="date">