Fix minor AJAX bug where form for delete/edit was not rendering action correctly until page was refreshed. Also rewrote AJAX function for deleting courses so that using the course's id is not necessary; using .parent() and .next() to remove the appropriate elements of the accordion upon course deletion.