deletes elements added by ajax w/out refreshing the page
refactor