added some error logic to issues json, todo list for datatable.html