See if model is undefined, not not null
Include date.js for advanced date parsing
Use html5 datetime-local for date field
Adjusted styles to accomodate new date input
Reminder to remove height from date field