delete works

now for the variable in the url during ajax call