Fix bug that prevented the deletion of groups.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
A more concise version of this might be to change `$.ajax` to `$.post` instead.