front end functionality almost completed - date handling in javascript is last challenge