added date field to case db and added date javascript to create html